<template>
    <div class="breadcrumb">
        <el-breadcrumb separator-class="el-icon-arrow-right">
            <el-breadcrumb-item :to="{path:item.path}" v-for="item,index in list" :key="item.path">{{item.title}}</el-breadcrumb-item>  
        </el-breadcrumb>
    </div>
</template>
<script>
export default {
    props:{
        list:{
            type:Array,
            default:()=>{
                return [{
                    path:'/',
                    title:'首页'
                }]
            }
            
        }
    },
    data() {
        return {
            
        }
    },
}
</script>